package com.travel.modules.sys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * null
 * @TableName sys_log
 */
@Data
@TableName("sys_log")
public class SysLog implements Serializable {
    /**
     *
     */
    @TableId
    private Integer id;

    /**
     * 操作内容
     */
    private String opt;

    /**
     * 用户id
     */
    private Integer userId;
    @TableField(exist = false)
    private String loginName;

    /**
     * 类型，1-系统异常，2-一般日志
     */
    private Integer type;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_log
     */
    private static final long serialVersionUID = 1L;
}